package com.ruoyi.project.rest.statistics.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 统计数据对象 rest_statistics_data
 * 
 * @author jfj
 * @date 2022-04-08
 */
public class RestStatisticsData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statisticsTime;

    /** 订单量 */
    @Excel(name = "订单量")
    private Long orderNum;

    /** 收入总额 */
    @Excel(name = "收入总额")
    private BigDecimal incomeMoney;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStatisticsTime(Date statisticsTime)
    {
        this.statisticsTime = statisticsTime;
    }

    public Date getStatisticsTime()
    {
        return statisticsTime;
    }
    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }
    public void setIncomeMoney(BigDecimal incomeMoney)
    {
        this.incomeMoney = incomeMoney;
    }

    public BigDecimal getIncomeMoney()
    {
        return incomeMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("statisticsTime", getStatisticsTime())
            .append("orderNum", getOrderNum())
            .append("incomeMoney", getIncomeMoney())
            .toString();
    }
}
